<table>
  <tr>
    <th>编号</th>
    <th>姓名</th>
    <th>性别</th>
    <th>详情</th>
  </tr>
  <tr *ngFor="let student of students">
    <td>{{student.id}}</td>
    <td>{{student.name}}</td>
    <td>{{student.gender}}</td>
    <td>详情</td>
  </tr>
</table>

<button (click)="up()">上一页</button>
第{{pageNum}}页
<button (click)="down()">下一页</button>
共{{pages}}页<br/>
跳转到<input [(ngModel)]="pageNum"><button (click)="jump()">跳转</button><br/>
每页显示<input [(ngModel)]="pageSize">条数据<button (click)="change()">确定</button>
